

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="adminmain" />
        <title>SMF Administration - Reports</title>
	
	<g:javascript src="CalendarPopup.js" />
	<g:javascript>
		var cal = new CalendarPopup()
	</g:javascript>

    </head>
    
    <body>
	
		<div class="body">

			<h1>Reports</h1>

			<br>

			<g:if test="${flash.message}">
				<div class="message">${flash.message}</div>
			</g:if>
			
			
			<table>
				<tr>
					<td>
			
			
						<form name="emailReport" id="emailReport" action="emailReport" method="post" >

							<table>    

								<tr class="prop">
									<td valign="top" class="name" colspan="2">
										<h1>Email Report</h1>
									</td>
								</tr>

								<tr class="prop">
									<td valign="top" class="name">
										<label for="inputStart">start date:</label>
									</td>
									<td>
										<g:datePicker name="inputStart" value="${new Date()}" precision="day" years="${2000..2020}"/>									
									</td>

								</tr>

								<tr class="prop">
									<td valign="top" class="name">
										<label for="inputEnd">end date:</label>
									</td>
									<td>
										<g:datePicker name="inputEnd" value="${new Date()}" precision="day" years="${2000..2020}"/>
									</td>
								</tr>

								<tr>
									<td></td>
									<td valign="top" class="name">
										<input type="submit" value="Submit" />
									</td>
								</tr>

							</table>

						</form>

					</td>
					<td>
		
						<form id="activityReport" action="activityReport" method="post" >

							<table>    

								<tr class="prop">
									<td valign="top" class="name" colspan="2">
										<h1>Activity Report</h1>
									</td>
								</tr>

								<tr class="prop">
									<td valign="top" class="name">
										<label for="inputStart">start date:</label>
									</td>
									<td>
										<g:datePicker name="inputStart" value="${new Date()}" precision="day" years="${2000..2020}"/>									
									</td>

								</tr>

								<tr class="prop">
									<td valign="top" class="name">
										<label for="inputEnd">end date:</label>
									</td>
									<td>
										<g:datePicker name="inputEnd" value="${new Date()}" precision="day" years="${2000..2020}"/>
									</td>
								</tr>

								<tr>
									<td></td>
									<td valign="top" class="name">
										<input type="submit" value="Submit" />
									</td>
								</tr>

							</table>

						</form>
			
					</td>
					<td>
			
						<form id="donationReport" action="donationReport" method="post" >

							<table>    

								<tr class="prop">
									<td valign="top" class="name" colspan="2">
										<h1>Donation Report</h1>
									</td>
								</tr>

								<tr class="prop">
									<td valign="top" class="name">
										<label for="inputStart">start date:</label>
									</td>
									<td>
										<g:datePicker name="inputStart" value="${new Date()}" precision="day" years="${2000..2020}"/>									
									</td>

								</tr>

								<tr class="prop">
									<td valign="top" class="name">
										<label for="inputEnd">end date:</label>
									</td>
									<td>
										<g:datePicker name="inputEnd" value="${new Date()}" precision="day" years="${2000..2020}"/>
									</td>
								</tr>


								<tr>
									<td></td>
									<td valign="top" class="name">
										<input type="submit" value="Submit" />
									</td>
								</tr>

							</table>

						</form>
					
					</td>
				</tr>
			</table>


		</div>
		
		
		
    </body>
    
</html>
